﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Batman.DLL.Todo.Models
{
    public class TodoItem
    {

        public TodoItem()
        {
            CreateAt = DateTime.Now;
        }

        public int Id { get; set; }

        public int? GroupId { get; set; }

        public bool IsTop { get; set; }

        [MaxLength(200)]
        public string Content { get; set; }

        public DateTime CreateAt { get; set; }

        public int CreateBy { get; set; }

        public DateTime? TopAt { get; set; }


    }
}
